home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / DELPHI32 / SEARCH / RUBICON / RUBICON.ZIP / TARUBICN.INC < prev    next >
Text File  |  1996-10-22  |  3KB  |  83 lines

  1. {*********************************************************}
  2. {*             TARUBICN.INC 1.20             *}
  3. {*      Copyright (c) Tamarack Associates 1996.     *}
  4. {*           All rights reserved.          *}
  5. {*********************************************************}
  6.  
  7.  
  8. {* Owners of TurboPower's SysTools (tm) should enable the following    *}
  9. {* compiler directive by removing the period.  This option is only     *}
  10. {* valid for registered users of Rubicon.  For performance reasons     *}
  11. {* the SysTools' TDEFINE.INC option ThreadSafe should be disabled.     *}
  12. {* Default is disabled.                            *}
  13.  
  14. {.$DEFINE HaveSysTools}
  15.  
  16. {* dbiRead enables the use of DBI calls for reading Blob fields which  *}
  17. {* increases perfomance.  These routines have been tested on dBase,    *}
  18. {* Paradox, Local Interbase, and Interbase 4.0 NT.  If you are using   *}
  19. {* another SQL server and are experiencing problems, try disabling     *}
  20. {* this options.  Default is Enabled.                       *}
  21.  
  22. {$DEFINE dbiRead}
  23.  
  24. {* dbiWrite enables the use of DBI calls for writing records to the    *}
  25. {* WordsTable, thereby improving write performance.  These routines    *}
  26. {* assume that the underlying database supports 32 bit integers, which *}
  27. {* is the case for Paradox and InterBase.  dBase does not support      *}
  28. {* integer fields, so if this option is enabled, errors will occur if  *}
  29. {* you try to use a dBase WordsTable.  Note:  you may use a dBase      *}
  30. {* DataSource with a Paradox WordsTable.  Default is Disabled.           *}
  31.  
  32. {.$DEFINE dbiWrite}
  33.  
  34. {* AltMemMgr substitutes an internal memory management routine to      *}
  35. {* handle memory deallocation and subsequent reallocations.  Only      *}
  36. {* needed under Delphi 2.00/2.01 and only when working with large      *}
  37. {* tables.  See discussion is RUBICON.DOC.  This option is ignored     *}
  38. {* under Delphi 1.0.  Default is enabled.                   *}
  39.  
  40. {$DEFINE AltMemMgr}
  41.  
  42. {* UseAnsi forces the use of AnsiCompareStr and AnsiUpperCase instead  *}
  43. {* of CompareStr and UpperCase.  Because these routines are called so  *}
  44. {* often, using the Ansi routines causes a significant slow down in    *}
  45. {* build performance.  Default is disabled.                   *}
  46.  
  47. {.$DEFINE UseAnsi}
  48.  
  49. {* MemoryLogging is a diagnostic option that logs all of the cache     *}
  50. {* managers calls to allocate and deallocate memory.  The pattern of   *}
  51. {* memory use revealed by the logs was used to design the alternative  *}
  52. {* memory manager.  Defualt is disabled.                   *}
  53.  
  54. {.$DEFINE MemoryLogging}
  55.  
  56. {* ThirdParty reduces the number of DBI calls in order to make the     *}
  57. {* component "friendlier" to third party DBE replacements.  It also    *}
  58. {* calls AddIndex only when the WordsTable is closed which some other  *}
  59. {* drivers require.  When enabled, KeyViolName becomes disabled.       *}
  60. {* Default is disabled.                            *}
  61.  
  62. {.$DEFINE ThirdParty}
  63.  
  64. {================== Do not change anything past this line! ====================}
  65.  
  66. {$UNDEF HStrings}
  67. {$IFDEF WIN32}
  68.  {$IFOPT H+}
  69.   {$DEFINE HStrings}
  70.  {$ELSE}
  71.   {$DEFINE WStrings}
  72.  {$ENDIF}
  73. {$ENDIF}
  74.  
  75. {$IFNDEF WIN32}
  76.  {$UNDEF AltMemMgr}
  77. {$ENDIF}
  78.  
  79. {$IFDEF NoDBI}
  80.  {$UNDEF dbiRead}
  81.  {$UNDEF dbiWrite}
  82. {$ENDIF}
  83.